﻿using System;
using UnityEngine;
using UnityEngine.Rendering;

namespace ZxcRP.Runtime
{
    /// <summary>
    /// 渲染管线关联的Asset，可用于配置管线
    /// </summary>
    [CreateAssetMenu(menuName = "Rendering/Zxc Render Pipeline", fileName = "ZxcRenderPipeline")]
    public class ZxcRenderPipelineAsset : RenderPipelineAsset
    {
        /// <summary>
        /// 创建管线对象
        /// </summary>
        /// <returns></returns>
        protected override RenderPipeline CreatePipeline()
        {
            return new ZxcRenderPipeline();
        }
    }
}